namespace DotNetNuke.UI.UserControls
{
    using System;
    using System.Collections;
    using System.Web.UI.WebControls;

    public class ListItemComparer : IComparer
    {
        public int Compare(object x, object y)
        {
            ListItem a = (ListItem) x;
            ListItem b = (ListItem) y;
            CaseInsensitiveComparer c = new CaseInsensitiveComparer();
            return c.Compare(a.Text, b.Text);
        }
    }
}

